/*********************************************************************
*                SEGGER MICROCONTROLLER GmbH & Co. KG                *
*        Solutions for real time microcontroller applications        *
**********************************************************************
*                                                                    *
*        (c) 2003-2011     SEGGER Microcontroller GmbH & Co KG       *
*                                                                    *
*        Internet: www.segger.com    Support:  support@segger.com    *
*                                                                    *
**********************************************************************

----------------------------------------------------------------------
File    : FTPC_Conf.h
Purpose : FTP client add-on configuration file.
---------------------------END-OF-HEADER------------------------------
*/

#ifndef _FTPS_CONF_H_
#define _FTPS_CONF_H_ 1

#include "IP.h"                              // embOS/IP header file. Remove if you use the FTP client with another stack.

#ifdef DEBUG
  #ifdef __ICCARM__
    #define FTPC_WARN(p)         IP_Warnf_Application p
    #define FTPC_LOG(p)          IP_Logf_Application  p
  #else
    #define FTPS_WARN(p)
    #define FTPS_LOG(p)
  #endif
  #define IP_FTPC_DEBUG          IP_DEBUG
#else
  #define IP_FTPC_DEBUG
  #define FTPS_WARN(p)
  #define FTPS_LOG(p)
#endif

#define FTPC_BUFFER_SIZE               512
#define FTPC_CTRL_BUFFER_SIZE          256
#define FTPC_SERVER_REPLY_BUFFER_SIZE  128  // Only required in debug builds with enabled logging.

#endif     // Avoid multiple inclusion




























